iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 23
1

How to turn off ESLint?

其實筆者剛裝好 quasar cli 第一件事情是...

想辦法怎麼關掉eslint

直接先說最快的解法

在 eslintignore 加入 \*\*\/\*

為什麼我要關掉 eslint, 我們來看看國外鄉民怎麼說

鄉民A:

Man, that tab and space restriction is brutal.....

鄉民B:

ESLINT is the worst thing to have ever happened since WW2, I think there should be an option to wipe it out entirely. I spent more time counting spaces and tabs than coding. Peter's answer finally did the trick.

資深工程師A:

-- So what do you do for living?
-- I count spaces, position parenthesis and check for trailing commas all day long

剛踏入前端的新手A:

Eslint is fine, what really sucks here is the retarded who came out with all these stupid rules, like no spaces before function parenthesis and trailing comas EVERYWHERE. FFS!

節錄自

https://github.com/vuejs-templates/webpack/issues/73

如果有人看到這的話, 其實以上內容看看笑笑就好, 筆者也還沒認真去比較 eslint 的優點/缺點, 等有時間的時候再來認真研究研究!


上一篇
創建 (lints issue
下一篇
超快速30秒nodeJs前端+後端 開發環境建置
系列文
GAME30天30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言